CODEGEN-334 - Fix ignoreNoDocuments swallowing all errors, not just no document errors#10338
CODEGEN-334 - Fix ignoreNoDocuments swallowing all errors, not just no document errors#10338
Conversation
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-codegen/cli |
5.0.6-alpha-20250503091728-60da34d73a34e0e564025094b103c5449f87e0bb |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.6.1-alpha-20250503091728-60da34d73a34e0e564025094b103c5449f87e0bb |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
4.5.1-alpha-20250503091728-60da34d73a34e0e564025094b103c5449f87e0bb |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.8.1-alpha-20250503091728-60da34d73a34e0e564025094b103c5449f87e0bb |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.17-alpha-20250503091728-60da34d73a34e0e564025094b103c5449f87e0bb |
npm ↗︎ unpkg ↗︎ |
💻 Website PreviewThe latest changes are available as preview in: https://pr-10338.graphql-code-generator.pages.dev |
🦋 Changeset detectedLatest commit: 60da34d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4387867 to
909e355
Compare
2cac888 to
304cd48
Compare
22b934e to
37b66fa
Compare
dc854c3 to
60da34d
Compare
|
In the end, I couldn't pin Note:
|
Description
Related #9172
This PR fixes the issue where
ignoreNoDocumentsflag catches and swallows all errors such as syntax errors, and not just when no documents can be found. This uses feature implemented in ardatan/graphql-tools#7093Type of change
How Has This Been Tested?